<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>后台</title>
  <link rel="stylesheet" href="/houtai/layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo"> 后台</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          {{--<img src="http://t.cn/RCzsdCq" class="layui-nav-img">--}}
          {{$adminUser}}
        </a>
      </li>
      <li class="layui-nav-item"><a href="{{url('admin/loginOut')}}">退出</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
            <li class="layui-nav-item layui-this"><a class='home' href="javascript:;" name="{{url('admin/home')}}" >首页</a></li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">管理员管理</a>
                <dl class="layui-nav-child">
                <!-- <dd><a class='home' href="javascript:;">权限列表</a></dd> -->
                <dd><a class='home' href="javascript:;" name="{{url('admin/role/index')}}" >角色列表</a></dd>
                <dd><a class='home' href="javascript:;" name="{{url('admin/admin/index')}}" >管理员列表</a></dd>
                <dd><a class='home' href="javascript:;" name="{{url('admin/admin/log')}}" >管理员日志</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">用户管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/user/index')}}" >用户列表</a></dd>
                    <dd><a class='home' href="javascript:;" name="{{url('admin/user/team')}}" >团队体系</a></dd>
                    <!-- <dd><a class='home' href="javascript:;" name="{{url('admin/user/create')}}" >添加用户</a></dd> -->
                    <dd><a class='home' href="javascript:;" name="{{url('admin/user/account')}}" >资产调整</a></dd>
                    <dd><a class='home' href="javascript:;" name="{{url('admin/user/account_log')}}" >资产日志</a></dd>
                    <!-- <dd><a class='home' href="javascript:;" name="{{url('admin/auth/index')}}" >实名认证</a></dd> -->
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">商城管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/type/index')}}" >商品类别</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/shopbrand/index')}}" >品牌列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/shoplabel/index')}}" >标签列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/attrtype/index')}}" >规格类型</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/attrkey/index')}}" >规格列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/shop/index')}}" >商品列表</a></dd>
                </dl>
                {{--<dl class="layui-nav-child">--}}
                    {{--<dd><a class='home' href="javascript:;" name="{{url('admin/shop/index_two')}}" >商品列表2</a></dd>--}}
                {{--</dl>--}}

                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/shop/son_list')}}" >子商品列表</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">素材管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/shop/q_a_store')}}" >问答列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/source/index_pic')}}" >图文列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/source/index_vedio')}}" >视频列表</a></dd>
                </dl>

            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">公告管理</a>

                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/notice/index')}}" >公告列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/information/index')}}" >消息通知</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">仓库管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/store/index')}}" >云仓库列表</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">订单管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/order/index')}}" >订单列表</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">提现管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/deposit/index')}}" >提现列表</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">心愿管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/wish/list')}}" >心愿列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/wish/index')}}" >心愿订单</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">拼团管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/group/index')}}" >拼团列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/group/order')}}" >拼团订单</a></dd>
                </dl>
            </li>

            <li class="layui-nav-item">
                <a class="" href="javascript:;">首页管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/banner/index')}}" >Banner</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/asd/index')}}" >客服中心</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/total/index')}}">数据统计</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/shophome/index')}}">入口类别</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/shophome/search')}}">搜索关键字</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="" href="javascript:;">系统管理</a>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/paytype/index')}}" >银行卡列表</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/config/index?type=1')}}" >系统参数</a></dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd><a class='home' href="javascript:;" name="{{url('admin/config/index?type=2')}}" >游戏参数</a></dd>
                </dl>
            </li>
        </ul>
    </div>
  </div>
  
  <div class="layui-body">
    <!-- 内容主体区域 -->
    <!-- <div style="padding: 15px;">内容主体区域</div> -->
    <!-- <iframe id="iframe" style="border:0; width:100%; background-color:#FFF;"name="iframe" frameborder="0" src="{{url('admin/user/index')}}">  </iframe> -->
    <iframe id="iframe" style="border:0; width:100%;height:100%; background-color:#FFF;"name="iframe" frameborder="0" src="{{url('admin/home')}}">  </iframe>
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    管理系统
    Copyright ©2020
  </div>
</div>
<script src="/houtai/layui/layui.js"></script>
<script type="text/javascript" src='/houtai/layui/jquery-3.2.1.js'></script>
<script>
  //JavaScript代码区域
  layui.use('element', function(){
    var element = layui.element;
    
  });

$(function(){
  $('.home').click(function(){
    let name = $(this).attr('name');
    $('#iframe').attr('src',name)
  })
})
</script>
</body>
</html>